@include('parent');
<section class="rt_wrap content mCustomScrollbar">
	<table class="table">
		<tr>
		<td>编号</td>
		<td>新闻标题</td>
		<td>内容</td>
		<td>发布时间</td>
		<td>操作</td>
		</tr>
		@foreach($newlist as $n)
		<tr>
		<td>{{$n->xid}}</td>
		<td>{{$n->title}}</td>
		<td>{{$n->content}}</td>
		<td>{!!date('Y-m-d',$n->pubtime)!!}</td>
		<td>
		<a href="{{url('editnew',['xid'=>$n->xid])}}">编辑</a>|
		<a href="{{url('delnew',['xid'=>$n->xid])}}">删除</a>
		</td>
		</tr>
		@endforeach
	</table>
</section>
</body>
</html>
</body>
</html>